package com.ruoyi.homework.service;

import java.util.List;
import com.ruoyi.homework.domain.Homework;

/**
 * homeworkService接口
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
public interface IHomeworkService 
{
    /**
     * 查询homework
     * 
     * @param homeworkId homework主键
     * @return homework
     */
    public Homework selectHomeworkByHomeworkId(Long homeworkId);

    /**
     * 查询homework列表
     * 
     * @param homework homework
     * @return homework集合
     */
    public List<Homework> selectHomeworkList(Homework homework);

    /**
     * 新增homework
     * 
     * @param homework homework
     * @return 结果
     */
    public int insertHomework(Homework homework);

    /**
     * 修改homework
     * 
     * @param homework homework
     * @return 结果
     */
    public int updateHomework(Homework homework);

    /**
     * 批量删除homework
     * 
     * @param homeworkIds 需要删除的homework主键集合
     * @return 结果
     */
    public int deleteHomeworkByHomeworkIds(Long[] homeworkIds);

    /**
     * 删除homework信息
     * 
     * @param homeworkId homework主键
     * @return 结果
     */
    public int deleteHomeworkByHomeworkId(Long homeworkId);
}
